package com.example.demo.design.creational.builder;

/**
 * 产品角色：包含多个组成部件的复杂对象。
 *
 * @author luowj12
 * @since 2021/5/8 10:44
 */
public class Product {

    private String partA;
    private String partB;
    private String partC;
    public void setPartA(String partA) {
        this.partA = partA;
    }
    public void setPartB(String partB) {
        this.partB = partB;
    }
    public void setPartC(String partC) {
        this.partC = partC;
    }
    public void show() {
        System.out.println(partA);
        //显示产品的特性
    }

}
